package com.group.three.service.myorderservice;

import com.group.three.entity.myOrder.OrderBuyerInformation;
import com.group.three.entity.myOrder.OrderLog;
import com.group.three.entity.myOrder.OrderSimpleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderBuyerService {
    List<OrderBuyerInformation> selectBuyerOrder(String memberId, int pageNumber, int pageSize, String tag,String keywords);


    //通过订单id查询会员用户订单详情信息
    List<OrderSimpleVO> selectBuyerOrderItem(String orderSn);
    //通过订单id查询会员用户订单日志
    List<OrderLog>  selectBuyerOrderItemLog(String orderSn);
    //通过订单id确认收货
    int sureReceived(String orderSn);
    //取消订单
    int cancelOrder(String orderSn ,  String reason);
    //删除订单
    int deleteOrder(@Param(value = "orderSn")String orderSn);
}
